<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2016/11/16
  Time: 10:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>第一頁</title>
    <!--<script type="text/javascript" src="<c:url value="/js/jquery-1.5.1.js" />">
    </script>-->
</head>
<body>
    <div>
        page1:
    </div>
    <hr>
    <div>
        <form action="session1_2.jsp" method="post">
            输入单词：<input name="word" type="text" >
            输入密码：<input name="pwd" type="password">
            <input type="submit">
        </form>
    </div>
    <c:if test="${sessionScope.pwd == sessionScope.relpwd}">
    <hr>
    <div>
        你曾经输入的单词：${word }<br>
        你曾经输入的密码：${pwd}
    </div>
    </c:if>
</body>
</html>
